home *** CD-ROM | disk | FTP | other *** search
- Path: berlin.infomatch.com!pax
- From: pax@infomatch.com (Anselmo Amaral)
- Newsgroups: comp.lang.c++
- Subject: Q: Multiple Objects at runtime
- Date: 16 Jan 1996 23:58:44 GMT
- Organization: Infomatch Communications
- Message-ID: <4dhe3k$5eg@berlin.infomatch.com>
- NNTP-Posting-Host: matrix.infomatch.com
- X-Newsreader: NN version 6.5.0 #12
-
- I would like to create objects at runtime. For instance lets say that I
- am making a game and in that game I have a monster object I would like to
- copy the object but have different values for each monster but the
- monsters need to be read from a file and each level has a different
- number of monsters in different areas of the world. I have figured out
- how to create objects and use objects but I do not know how to copy them
- at runtime so If some one out there can help me I would really
- appreiciate it.
-
- Thanks in advance.
-
- A.Amaral
- --
- -----------------------------------------------------------------------------
- "Our object in the construction of the state is the greatest happiness of
- the whole, and not that of any one class." -- Plato, Republic, 4
- * TEAM LINUX * pax@infomatch.com
-